(echo -n "internal_styles.c: mkstyle.sh " ; echo style/*.style ; /bin/echo -e '\t./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1)' ) >> /tmp/dep
echo Edit Makefile and bring in /tmp/dep
-#VERSIONU=1_2_4_beta10162004
-#VERSIOND=1.2.4_beta10162004
-VERSIONU=1_2_4
-VERSIOND=1.2.4
+VERSIONU=1_2_5_beta10212004
+VERSIOND=1.2.5_beta10212004
+#VERSIONU=1_2_4
+#VERSIOND=1.2.4
release:
cvs commit
static char *poweroff = NULL;
static char *snlen = NULL;
static char *snwhiteopt = NULL;
+static char *deficon = NULL;
static
arglist_t garmin_args[] = {
ARGTYPE_INT },
{ "snwhite", &snwhiteopt, "(0/1) Allow whitespace synth. shortnames",
NULL, ARGTYPE_BOOL},
+ { "deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING },
{ "get_posn", &getposn, "Return current position as a waypoint",
NULL, ARGTYPE_BOOL},
{ "power_off", &poweroff, "Command unit to power itself down",
way[i]->lon = wpt->longitude;
way[i]->lat = wpt->latitude;
- if (get_cache_icon(wpt)) {
- icon = mps_find_icon_number_from_desc(get_cache_icon(wpt), PCX);
+ if (deficon) {
+ icon = mps_find_icon_number_from_desc(deficon, PCX);
} else {
- icon = mps_find_icon_number_from_desc(wpt->icon_descr, PCX);
+ if (get_cache_icon(wpt)) {
+ icon = mps_find_icon_number_from_desc(get_cache_icon(wpt), PCX);
+ } else {
+ icon = mps_find_icon_number_from_desc(wpt->icon_descr, PCX);
+ }
}
/* For units that support tiny numbers of waypoints, just